
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title>
<script type="text/javascript" src="__ROOT__/js/jquery.js"></script>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>

$(document).ready(function () {
    $("#btnSearchShow").click(function () {
        $("#btnSearch").click();
    });
});
    

</script>
</head>
<body>
  <!--顶部+导航开始-->
<include file="./top" />
  <!--顶部+导航结束-->
    <!--内容开始-->
    <div id="content">
        <!--项目大标题-->
        <div id="content-header">
            <h1>
                                                    客户查看
            </h1>
        </div>
        <!--主体内容区域开始-->
        <div id="content-container">
            <div class="row">

                <!--主体内容开始-->
                <div class="col-md-12">
                    <div class="dataTables_wrapper" role="grid">
    <!--查询表单开始-->
    <form method="post" action="__ACTION__">
                        <div style="width: 98%; margin: auto; display: block; padding: 15px 35px 10px 20px;"
                            class="row dt-rt pricing-plan promoted">
                            <div class="col-sm-12 form-group">
                                <div class="col-md-3" style="padding-left: 0;">
                                    <label class="col-md-3" style="padding: 0">
                                                                                                                                            账号名
                                    </label>
                                    <div class="col-md-8">
                                        <input name="txtmobile" type="text" id="txtmobile" placeholder="账号名" class="form-control" />
                                    </div>
                                </div>
                                <div class="col-md-5 form-group">
                                    <label class="col-md-2">
                                                                                                                                        注册日期</label>
                                    <div class="input-group date form_date col-md-5" style="float: left; padding: 0 2px 0 10px">
                                        <input type="text" class="form-control" placeholder="起始日期" id="txtStartTime" name="txtStartTime" value="<?php echo $mydts; ?>">
                                        <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
                                    </div>
                                    <div class="input-group date form_date col-md-5" style="float: left; padding: 0 10px 0 2px">
                                        <input type="text" class="form-control" placeholder="截止日期" id="txtEndTime" name="txtEndTime" value="<?php echo $mydte; ?>">
                                        <span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
                                    </div>
                                </div>
                                <div class="col-md-1 text-right" style="padding-right: 0">
                                    <button type="button" class="btn btn-primary" id="btnSearchShow">
                                        <i class="glyphicon glyphicon-search"></i> 查 询</button>
                                </div>
                                <div style="display: none">
                                    <input type="submit" name="btnSearch" value="" id="btnSearch" />
                                </div>
                            </div>
                        </div>
                        </form>
                        <!--查询表单结束-->
                     
                        <!--列表开始-->
                        
                                <table class="table table-bordered table-highlight table-striped table-hover">
                                    <tr>
                                        <th width="10%">
                                           ID
                                        </th>
                                        <th width="40%">
                                                                                                                                                    帐号
                                        </th>
                                        <th width="40%">
                                                                                                                                                    注册时间
                                        </th>
                                        <th width="10%">
                                                                                                                                                     状态 
                                        </th>
                                    </tr>
                                    
        <?php foreach ($data as $k => $v):?>
        <tr>
            <td><?php echo $v['uid'];?></td>
            <td><?php echo deStr($v['mobile']);?></td>
            <td><?php echo $v['createtime'];?></td>
            <td><?php echo $v['state'];?></td>
        </tr>
        <?php endforeach;?>

</table>
                            
                        <!--列表结束-->
                        <!--条目统计/翻页开始-->
                        <div class="row">
                            <div class="col-sm-12">
                                <div class="dataTables_paginate paging_bootstrap">
                                    <!--分页开始-->
                                    <?php echo $pagestr;?>
                                    <!--分页结束-->
                                </div>
                            </div>
                        </div>
                        <!--条目统计/翻页结束-->
                    </div>
                </div>
                <!--主体内容结束-->
            </div>
        </div>
        <!--主体内容区域结束-->
    </div>
    <!--内容结束-->
    <!--底部信息开始-->
<include file="./foot" />


    <!--底部信息结束-->
    </form>
</body>
</html>
